<h2 class="title">Kärtchen drucken</h2>

<div class="content"> <!-- Content start -->
<table>
  <tr>
    <th>Name</th>
    <th>Farbe</th>
    <th>Geschraubt</th>
    <th>Grad</th>
    <th></th>
  </tr>

<% form_tag 'print' do %>

<%= submit_tag 'drucken' %>
<% @routes.each do |route| %>
  <tr>
    <td><%= route.name %></td>
    <td><%= route.color.name %></td>
    <td><%= route.build %></td>
    <td><%= route.grade.grade %></td>
    <td><%= check_box_tag(
                    "print_list[#{route.id}]", 
                    "1", 
                    false ) %></td>
  </tr>
<% end %>

</table>
<% end %>
<br />
</div>
